package com.group3.service;

import com.group3.domain.AttendanceResult;
import com.group3.domain.PunchRecord;
import com.group3.pojo.receive.AttendanceReceive;
import com.group3.pojo.receive.RecordReceive;
import com.group3.utils.Result;
import org.springframework.validation.annotation.Validated;

import java.util.List;

/**
 * TeacherAttendanceService
 *
 * @author HY,HMM,PX
 * 2021/06/10 16:53
 **/


public interface TeacherAttendanceService {
    Result<List<PunchRecord>> selectRecord(RecordReceive recordReceive);
    Result<List<AttendanceResult>> selectAttendance(
            @Validated AttendanceReceive attendanceReceive,String token);
    Result<AttendanceResult> showAttendance(Integer leaveId,String studentId);
}
